#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 19-5-29 下午11:30
# @Author  : Tom
# @Site    : 
# @File    : urls.py
# @Software: PyCharm


from django.conf.urls import url
from . import views


urlpatterns = [
    url(r'^list/(?P<category_id>\d+)/(?P<page_num>\d+)/$', views.ListView.as_view()),
    url(r'^hot/(?P<category_id>\d+)/$', views.HotGoodsView.as_view()),
    url(r'^detail/(?P<sku_id>\d+)/$', views.DetailView.as_view()),
    url(r'^detail/visit/(?P<category_id>\d+)/$', views.DetailVisitView.as_view()),
    url(r'^browse_histories/$', views.HistroryView.as_view()),
]